﻿using System;
using System.Collections.Generic;

namespace Models.Models;

/// <summary>
/// 支付方式
/// </summary>
public partial class SPayment
{
    /// <summary>
    /// 自增id
    /// </summary>
    public uint Id { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; } = null!;

    /// <summary>
    /// 唯一标记
    /// </summary>
    public string Payment { get; set; } = null!;

    /// <summary>
    /// logo
    /// </summary>
    public string Logo { get; set; } = null!;

    /// <summary>
    /// 插件版本
    /// </summary>
    public string Version { get; set; } = null!;

    /// <summary>
    /// 适用系统版本
    /// </summary>
    public string ApplyVersion { get; set; } = null!;

    /// <summary>
    /// 插件描述
    /// </summary>
    public string Desc { get; set; } = null!;

    /// <summary>
    /// 作者
    /// </summary>
    public string Author { get; set; } = null!;

    /// <summary>
    /// 作者主页
    /// </summary>
    public string AuthorUrl { get; set; } = null!;

    /// <summary>
    /// 配置项规则
    /// </summary>
    public string? Element { get; set; }

    /// <summary>
    /// 配置数据
    /// </summary>
    public string? Config { get; set; }

    /// <summary>
    /// 适用终端 php一维数组json字符串存储（pc, wap, app, alipay, weixin, baidu）
    /// </summary>
    public string ApplyTerminal { get; set; } = null!;

    /// <summary>
    /// 是否启用（0否，1是）
    /// </summary>
    public byte IsEnable { get; set; }

    /// <summary>
    /// 是否对用户开放
    /// </summary>
    public byte IsOpenUser { get; set; }

    /// <summary>
    /// 顺序
    /// </summary>
    public byte Sort { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public uint AddTime { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public uint UpdTime { get; set; }
}
